import request from '@/utils/request'

// 登录方法
export function takeCmdVO(productId) {
 
  return request({
    'url': '/iot/takeWxCmdVO/' + productId,
    headers: {
      isToken: true
    },
    'method': 'get',
  })  
}

export function takeCmdResult(cmdJson) {
	
  return request({
	  "url":'/iot/takeWxCmdResult',
	  headers: {
	    isToken: true
	  },
	  'method': 'post',
	  'data':cmdJson
  })

}
